Ext.define('byb.view.system.AdmOrgTreeView', {
    alias: 'widget.admOrgTreeView',
    extend: 'Ext.tree.Panel',
    requires: ['Ext.data.TreeStore'],
    rootVisible: false,
    useArrows: true,
    checkModel: 'cascade',
    border: false,
    layout: 'fit',
    initComponent: function() {
        this.callParent();
    },
    store: new Ext.data.TreeStore({
        proxy: {
            type: 'ajax',
            url: byb.Constant.APIRoot + '/org/getTree'
        }
    })
});